package com.wangzefeng.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 流程线表
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-18
 */
public class WorkflowLink implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "link_id", type = IdType.AUTO)
    private Integer linkId;

    private Integer workflowId;

    /**
     * 流程线名称
     */
    private String linkName;

    /**
     * 流程线key
     */
    private String linkKey;

    private Integer linkPreNode;

    private Integer linkNextNode;


    public Integer getLinkId() {
        return linkId;
    }

    public void setLinkId(Integer linkId) {
        this.linkId = linkId;
    }

    public Integer getWorkflowId() {
        return workflowId;
    }

    public void setWorkflowId(Integer workflowId) {
        this.workflowId = workflowId;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public String getLinkKey() {
        return linkKey;
    }

    public void setLinkKey(String linkKey) {
        this.linkKey = linkKey;
    }

    public Integer getLinkPreNode() {
        return linkPreNode;
    }

    public void setLinkPreNode(Integer linkPreNode) {
        this.linkPreNode = linkPreNode;
    }

    public Integer getLinkNextNode() {
        return linkNextNode;
    }

    public void setLinkNextNode(Integer linkNextNode) {
        this.linkNextNode = linkNextNode;
    }

    @Override
    public String toString() {
        return "WorkflowLink{" +
        "linkId=" + linkId +
        ", workflowId=" + workflowId +
        ", linkName=" + linkName +
        ", linkKey=" + linkKey +
        ", linkPreNode=" + linkPreNode +
        ", linkNextNode=" + linkNextNode +
        "}";
    }
}
